<div class="menu-bar clearfix">
<div class="content-block">
<div class="menu">
	<ul>
		<li class="menuout"><a href="/best" <if condition="$_GET['_URL_'][1] eq 'best'">id="highlight"</if>>热门</a></li>
		<li class="menuout" onMouseOver="this.className='menuover'" onMouseOut="this.className='menuout'" style="width:93px;">
			<a href="/day" class="submenutitle" <if condition="$_GET['_URL_'][1] eq 'day' || $_GET['_URL_'][1] eq 'week' || $_GET['_URL_'][1] eq 'month'">id="highlight"</if>>精华</a>
			<a href="/day" class="submenu">24小时内</a>
			<a href="/week" class="submenu">7天内</a>
			<a href="/month" class="submenu">30天内</a>
		</li>
	
		<YICMS_nav id='1' a="a" html="li" style="highlight">
					{YICMS:$nav.url}
				</YICMS_nav>
	
		<li class="menuout"><a href="/history" <if condition="$_GET['_URL_'][1] eq 'history'">id="highlight"</if>>穿 越</a></li>
		<li class="menuout"><a href="/ticket?lightbox[iframe]=true&lightbox[width]=770&lightbox[height]=580" class="lightbox">审贴</a></li>
		<li class="menuout"><a href="/user/Publish.htm" <if condition="$_GET['_URL_'][1] eq 'user'">id="highlight"</if>>发表</a></li>
	</ul>
</div>
<script>
		function seach(){
			var seachname=$('#seachname').val();
			if(seachname!=null){
				top.location="/tag-"+seachname+'.html';
			}else{
				alert('请输入搜索词');
			}
		}
	 function enter(){    
      var event=arguments.callee.caller.arguments[0]||window.event;//消除浏览器差异    
     if (event.keyCode == 13){    
        seach();    
     }    
 }    
  
	</script>
<div class="search">
		<input type="text"  onkeydown="enter()" id="seachname" size="32" class="input-box"/>
		<input type="button"  onclick="seach()" value="搜索" class="button-box"/>
</div>
</div>
</div>
<if condition="C('opencws') eq 1">
	<script src="{YICMS:$style}static/js/nav.js"></script>
</if>